package com.fay.designPattern.pattern.behavior.template;

/**
 * @Title:
 * @Description:
 * @Author Fay Wang
 * @Date 2022/4/21 15:06
 * @Version 1.0
 */
public class BClass {
    public void process(ICallback callback) {
        System.out.println("do my work,start");
        callback.methodToCallback();
        System.out.println("do my work,end");
    }
}
